package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;

//服务接口
public interface CheckItemService {
    //检查组和检查项绑定了
    public final int DELETE_BYID_ERROR_CONTAINS = -1;
    //正常删除
    public final int DELETE_BYID_SUCCESS = 1;

    public void add(CheckItem checkItem);
    public PageResult pageQuery(QueryPageBean queryPageBean);
    public int deleteById(Integer id);
    public void edit(CheckItem checkItem);
    public CheckItem findById(Integer id);
}
